package jml.defaultimple;

public class Sublabel
{
	private String name;
	private boolean showAsLabel;
	private boolean truncateName;
	private String tuncatedName;
	
	public boolean isTruncateName()
	{
		return truncateName;
	}

	public void setTruncateName(boolean truncateName)
	{
		this.truncateName = truncateName;
	}

	@Override
	public String toString()
	{
		return "Sublabel [name=" + name + ", showAsLabel=" + showAsLabel + ", truncateName="+truncateName+"]";
	}

	public Sublabel(String name, boolean b,boolean truncateName)
	{
		this.name=name;
		this.showAsLabel=b;
		this.truncateName=truncateName;
	}
	
	public String getName()
	{
		return name;
	}
	public void setName(String name)
	{
		this.name = name;
	}
	public boolean isShowAsLabel()
	{
		return showAsLabel;
	}
	public void setShowAsLabel(boolean showAsLabel)
	{
		this.showAsLabel = showAsLabel;
	}

	public void setTuncatedName(String tuncatedName)
	{
		this.tuncatedName = tuncatedName;
	}

	public String getTuncatedName()
	{
		return tuncatedName;
	}
	
}
